package com.neu.flashmall.product.vo;

import com.neu.flashmall.product.entity.PmsSpuInfo;
import lombok.Data;

import java.util.List;

@Data
public class GoodVo {
    private PmsSpuInfo spuInfo;
    private List<AttrItem> attrList;

    @Data
    public static class AttrItem{
        private String attrName;
        private Long attrId;
        private List<SkuItem> options;
    }

    @Data
    public static class SkuItem{
        private String attrValue;
        private String image;
        private List<Long> skuId;
        private Boolean selected;
        private Boolean disabled;
    }
}
